package com.lianzai.mobile.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class StaticController {

    @RequestMapping("/mobile/static/agreement")
    public ModelAndView agreement(HttpServletRequest request, HttpServletResponse response) {
        return new ModelAndView("static/agreement");
    }

    @RequestMapping("/mobile/static/privacy")
    public ModelAndView privacy(HttpServletRequest request, HttpServletResponse response) {
        return new ModelAndView("static/privacy");
    }

}
